/*
 * @Descripttion: unTitle
 * @Author: yizheng.yuan
 * @Date: 2021-11-16 15:01:40
 * @LastEditors: yizheng.yuan
 * @LastEditTime: 2021-11-16 15:05:58
 */
const mongoose = require('mongoose');
// 建立连接
mongoose.connect('mongodb://127.0.0.1:27017/testdb');
// 原文链接：https://blog.csdn.net/weixin_44376122/article/details/109772367